﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HIWSystem.Models
{
    /// <summary>
    /// 工单实体信息
    /// </summary>
    public class WOEntity
    {
        /// <summary>
        /// 工单信息
        /// </summary>
        public string WO { get; set; }
        /// <summary>
        /// 工单描述
        /// </summary>
        public string WODescription { get; set; }
        /// <summary>
        /// 机种
        /// </summary>
        public string PN { get; set; }
        /// <summary>
        /// 流程
        /// </summary>
        public string Flow { get; set; }
        /// <summary>
        /// 起始序列号
        /// </summary>
        public string StartSn { get; set; }
        /// <summary>
        /// 结束序列号
        /// </summary>
        public string EndSn { get; set; }
        /// <summary>
        /// 工单的数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 已经完成的数量(即刷过END的序列号)
        /// </summary>
        public int Completed { get; set; }
        /// <summary>
        /// 未完成的数量
        /// </summary>
        public int NoCompleted { get; set; }
        /// <summary>
        /// 完成打印数量
        /// </summary>
        public int CompletedPrint { get; set; }
        /// <summary>
        /// 关闭的状态
        /// </summary>
        public string CloseStatus { get; set; }
        /// <summary>
        /// 关闭状态的中文描述便于下拉列表框的前台中文显示
        /// </summary>
        public string CloseStatusCn { get; set; }
        /// <summary>
        /// 所属厂商
        /// </summary>
        public string OwnerManufacturer { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string Actor { get; set; }
        /// <summary>
        /// 创建的时间
        /// </summary>
        public string CreateAt { get; set; }
        /// <summary>
        /// 自定义起始序列号
        /// </summary>
        public string CustomStartSn { get; set; }
    }
}
